﻿using System.Drawing;

namespace SilverlightTetris_M10CDE.Web
{
    class OShape : Shape
    {
        public OShape()
        {
            Block block1 = new Block(7, 0);
            Block block2 = new Block(block1.xPosition + 1, block1.yPosition);
            Block block3 = new Block(block1.xPosition, block1.yPosition + 1);
            Block block4 = new Block(block1.xPosition + 1, block3.yPosition);

            shapeBlock = new Block[4] { block1, block2, block3, block4 };
            orientation = 'n';
        }

        /// <summary>
        /// Overrides virtual shape method
        /// </summary>
        /// <returns></returns>
        public override Color getColour()
        {
            return (Color.Yellow);
        }

        protected override void SetRotationNorth()
        {

        }

        protected override void SetRotationEast()
        {

        }

        protected override void SetRotationSouth()
        {

        }

        protected override void SetRotationWest()
        {

        }

    }
}
